//
//  DealerListTableCell.h
//  WDFans
//
//  Created by Zhihong Yuan on 2/13/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kDealerListTableCellHeight 65.f

@protocol DealerListTableCellDelegate;

@interface DealerListTableCell : UITableViewCell

@property (nonatomic, retain) IBOutlet UILabel *dealerNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *dealerPhoneLabel;
@property (nonatomic, assign) id<DealerListTableCellDelegate> delegate;

- (IBAction)callButtonClicked;
- (IBAction)mapButtonClicked;

@end

@protocol DealerListTableCellDelegate <NSObject>

- (void)didCallingDealerNum:(DealerListTableCell *)cell;
- (void)didShowingAddressInMapForDealer:(DealerListTableCell *)cell;

@end